package cn.sherer.beans.douyin.playlet;

import java.util.List;
import java.util.ArrayList;
import java.io.Serializable;

/**
 * 抖音短剧查询结果
 * @author Sherer
 */
public class DyPlayletAlbumFetchResult implements Serializable {
    private int total;
    private List<DyPlayletAlbumInfo> album_info_list;
    private List<DyPlayletEpisodeInfo> episode_info_list;

    public DyPlayletAlbumFetchResult() {
    }

    public DyPlayletAlbumFetchResult(int total, List<DyPlayletAlbumInfo> album_info_list, List<DyPlayletEpisodeInfo> episode_info_list) {
        this.total = total;
        this.album_info_list = album_info_list;
        this.episode_info_list = episode_info_list;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<DyPlayletAlbumInfo> getAlbum_info_list() {
        return album_info_list == null ? new ArrayList<>() : album_info_list;
    }

    public void setAlbum_info_list(List<DyPlayletAlbumInfo> album_info_list) {
        this.album_info_list = album_info_list == null ? new ArrayList<>() : album_info_list;
    }

    public List<DyPlayletEpisodeInfo> getEpisode_info_list() {
        return episode_info_list == null ? new ArrayList<>() : episode_info_list;
    }

    public void setEpisode_info_list(List<DyPlayletEpisodeInfo> episode_info_list) {
        this.episode_info_list = episode_info_list == null ? new ArrayList<>() : episode_info_list;
    }

    @Override
    public String toString() {
        return "DyPlayletAlbumFetchResult{" + "total=" + total + ", album_info_list=" + album_info_list + ", episode_info_list=" + episode_info_list + '}';
    }
}
